<script type="text/javascript">
$(document).ready(function() {
    $("#progressbar-summary").progressbar({ value: <?php echo 10?> });
    
}); 

$('.progressbar').parent('td').click(function(){
		if (typeof(wait)=='undefined') wait = new waiting();
		$thisObjParams = $.parseJSON($(this).children('.range').attr('rel'));
		console.log($thisObjParams);
		wait.show();
		$.ajax({
			url: '/numbers/get-data-table-by-number-range',
			data: {range:[$thisObjParams['range_bot'], $thisObjParams['range_top']]},
			type: 'post',
			dataType: 'text',
			success: function(response){
				wait.hide();
				$('.matrix').html(response);
			}
		});
	});

</script>